<pre>
<script>
    class XRegExp {

    }

    function scan(str) {

    }

    scan(`
    
    `);

</script>>

</pre>